/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import java.util.List;

/**
 *
 * @author Jim
 */
public interface BookinfoDao {
     public List<bookInfo> displayAllbookInfo();
     public boolean writebook(bookInfo book);//添加书籍
     public bookInfo readbook(String bookname);//按书名查找书籍信息
     public boolean delete(String bookName);//删除书籍信息
     public boolean update(bookInfo oldbook,bookInfo newbook);//更新图书
}
